﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CashierHome.aspx.cs" Inherits="StuRecruitSys.CashierHome" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>福州大学在线招生系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/home.css" rel="stylesheet">
    <link href="css/navigate.css" rel="stylesheet">
    <link rel="shortcut icon"  href="img/favicon.ico">
    
  </head>

  <body>
    <header  class="header">
        <div class="navbar nabar-inverse navbar-fixed-top" style="background-color:#252525;">
          <div class="nabar-inner" style="height:50px;">
            <div class="container" style="width: 1170px; margin-top: 13px;">
              <div class="span3" >
                <h1 class="logo"><a href="#">
                  <img src="img/logo.png" alt="StuRSys" style="margin-top: -5px;" />
                  </a>
                </h1>
              </div>
              <div class="menu span2 pull-right">  
                <ul>
                  <li class="menu-item login-item">
                      <a href="Login.aspx" class="btn btn-inverse ">退出</a>
                  </li>                         
                </ul>
              </div>
            </div>
          </div>
       </div>
    </header>
    <div class="null" style="height:60px;">
    </div>
    <div class="container">
      <div class="row">
        <div class="span10 white-panel ">
            <ul class="nav nav-tabs" style="margin-top: 10px; margin-bottom: 40px;">
                <li><a href="#searchStudent" data-toggle="tab" class="gc-icon agency-icon">查询学生</a></li>
                <li><a href="#searchPay" data-toggle="tab" class="gc-icon enterprise-icon">查询应收账款</a></li>
                <li><a href="#print" data-toggle="tab" class="gc-icon gov-icon">打印</a></li>
            </ul> <!-- End tabs -->
            <form id="Form1" class="form-horizontal "  runat="server">
            <div class="tab-content">
                <div class="tab-pane active " id="searchStudent">  

                  <div id="optionSearchStu" style="margin-bottom: 30px; margin-top: 15px;">  <!--查询条件-->
                    按条件查询： 
                    <asp:DropDownList ID="DropDownListStu" runat="server" class="span2" >
                          <asp:ListItem>---全部---</asp:ListItem>
                          <asp:ListItem>学号</asp:ListItem>
                          <asp:ListItem>姓名</asp:ListItem>
                          <asp:ListItem>专业</asp:ListItem>
                          <asp:ListItem>年级</asp:ListItem>
                          <asp:ListItem>班级</asp:ListItem>
                    </asp:DropDownList>
                    <div class="right" style="margin-right: 250px;">
                      <input type="text" class="input-medium search-query" placeholder="请填入内容" runat="server" id="textSearchStu" />
                      <asp:Button ID="BtnSearchStu" runat="server" Text="查 询" class="btn btn-inverse" OnClick="btnSearchStu_onclick"/>
                    </div>
                  </div>
                    <!-- 学生信息列表 -->
                        <asp:GridView ID="GridViewStu" runat="server" AutoGenerateColumns="False" 
                        DataKeyNames="sno" class="table table-hover table-striped">
                        <Columns>    
                               <asp:ImageField DataImageUrlField="picpath" HeaderText="照片" ReadOnly="True" SortExpression="picpath" >
                               </asp:ImageField>
                               <asp:BoundField DataField="sno" HeaderText="学号" ReadOnly="True" 
                                SortExpression="sno" />
                               <asp:BoundField DataField="sname" HeaderText="姓名" SortExpression="sname" />
                               <asp:BoundField DataField="sex" HeaderText="性别" SortExpression="sex" />
                               <asp:BoundField DataField="email" HeaderText="邮箱" SortExpression="email" />
                               <asp:BoundField DataField="mname" HeaderText="专业" SortExpression="mname" />
                               <asp:BoundField DataField="sgrade" HeaderText="年级" SortExpression="sgrade" />
                            <asp:BoundField DataField="sclass" HeaderText="班级"   SortExpression="sclass" />                          
                            <asp:BoundField DataField="dormno" HeaderText="宿舍号" 
                                SortExpression="dormno" />                                                     
                        </Columns>
                        </asp:GridView>

                </div>

                <div class="tab-pane" id="searchPay">
                   <div id="optionSearchPay" style="margin-bottom: 30px; margin-top: 15px;">  <!--查询条件-->
                    按条件查询： 
                    <asp:DropDownList ID="DropDownListPay" runat="server" class="span2">
                          <asp:ListItem selected="true">---全部---</asp:ListItem>
                          <asp:ListItem >学号</asp:ListItem>
                           <asp:ListItem >姓名</asp:ListItem>
                          <asp:ListItem >专业</asp:ListItem>
                          <asp:ListItem >班级</asp:ListItem>  
                       </asp:DropDownList>

                    <div class="right"  style="margin-right: 250px;">
                       <input type="text" class="input-medium search-query"  ID="textSearchPay"  placeholder="请填入内容" runat="Server" />     
                        <asp:Button ID="BtnSearchPay" runat="server" Text="查 询" class="btn btn-inverse" OnClick="btnSearchPay_onclick"/>
                    </div>
                  </div>
                    <!-- 查询应收账款 -->
                  <asp:GridView ID="GridViewPay" runat="server" AutoGenerateColumns="False" 
                        DataKeyNames="sno"  class="table table-hover table-striped">
                        <Columns>      
                            <asp:BoundField DataField="sno" HeaderText="学号" ReadOnly="True" 
                            SortExpression="sno" />
                            <asp:BoundField DataField="sname" HeaderText="姓名" SortExpression="sname" />
                            <asp:BoundField DataField="mname" HeaderText="专业" SortExpression="mname" />
                            <asp:BoundField DataField="sgrade" HeaderText="年级" 
                            SortExpression="sgrade" />
                            <asp:BoundField DataField="sclass" HeaderText="班级" 
                                SortExpression="sclass" />                          
                            <asp:BoundField DataField="tmoney" HeaderText="本年学费" 
                                SortExpression="tmoney" />                             
                            <asp:BoundField DataField="fmoney" HeaderText="已收账款" 
                                SortExpression="fmoney" />                           
                            <asp:BoundField DataField="rmoney" HeaderText="欠款" ReadOnly="True" 
                                SortExpression="rmoney" />                                                       
                        </Columns>
                        </asp:GridView>

                  <div class="right">           
                      <asp:Button ID="btnSure" runat="server" Text="确认无误" class="btn btn-inverse btn-large" style="margin-top: 35px;"  OnClick="btnSure_onclick"/>      
                  </div>
                  
                </div>

                <div class="tab-pane" id="print">
                    <!-- 收款列表 -->
                    <div id="DIVPrint">
                    <asp:GridView ID="GridViewPrint" runat="server" AutoGenerateColumns="False" 
                        DataKeyNames="fno"  class="table table-hover table-striped">
                        <Columns>      
                    <asp:BoundField DataField="fno" HeaderText="记录号" ReadOnly="True" 
                    SortExpression="sno" />
                    <asp:BoundField DataField="sno" HeaderText="学号" SortExpression="sname" />
                    <asp:BoundField DataField="sclass" HeaderText="班级" 
                        SortExpression="sclass" />                             
                    <asp:BoundField DataField="sfee" HeaderText="本年学费" 
                        SortExpression="sfee" />                           
                    <asp:BoundField DataField="fdate" HeaderText="日期" ReadOnly="True" 
                        SortExpression="fdate" />  
                    <asp:BoundField DataField="record" HeaderText="操作记录" ReadOnly="True" 
                    SortExpression="record" /> 
                    <asp:BoundField DataField="cusername" HeaderText="出纳员" ReadOnly="True" 
                    SortExpression="cusername" />             
                    </Columns>
                    </asp:GridView>
                    
                    
                    </div>
                    
                    <div class="right">           
                      <asp:Button ID="BtnPrint" runat="server" Text="打  印" class="btn btn-inverse btn-large " style="margin-top: 35px;"  OnClick="btnPrint_onclick"/>      
                  </div>
                </div>
            </div> 
            </form>
        </div>
      </div>
    </div>
      <div id="framefooter" style="background-color: rgb(37, 37, 37);  width: 1400px;height: 250px;">
        <div class="container">
            <div class="row" style="margin-top: 35px;">
                <div class="span12">
                    <a href="#"><img src="img/logo-white.png" alt="Gather Content" /></a>
                    <p>Our mission is to bring convenience to students.</p>
                </div>
            </div>
            <div class="row links-horizontal" >
                <div class="span12">
                 <p>Copyright @ Fu Mingchun University of Technology</p> 
                </div>
            </div>
        </div>
      </div>

    </div>


    <script src="js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="js/dynamic-navigator.js"></script> 
         <!--返回顶部-->
    <script type="text/javascript">
        $(function () {
            var $backToTopTxt = "", $backToTopEle = $('<div class="backToTop"></div>').appendTo($("body"))
        .text($backToTopTxt).attr("title", $backToTopTxt).click(function () {
            $("html, body").animate({ scrollTop: 0 }, 120);
        }), $backToTopFun = function () {
            var st = $(document).scrollTop(), winh = $(window).height();
            (st > 0) ? $backToTopEle.show() : $backToTopEle.hide();
        };
            $(window).bind("scroll", $backToTopFun);
            $(function () { $backToTopFun(); });
        });
    </script>
   
   
  </body>
</html>
